<template>
  <div class="avue-logo">
    <transition name="fade">
      <span v-if="keyCollapse" class="avue-logo_subtitle" key="0">
        {{ website.logo }}
      </span>
    </transition>
    <transition-group name="fade">
      <template v-if="!keyCollapse">
        <span class="avue-logo_title" key="1">
          <svg
            xmlns="http://www.w3.org/2000/svg"
            xmlns:xlink="http://www.w3.org/1999/xlink"
            fill="none"
            version="1.1"
            width="160"
            height="32"
            viewBox="0 0 160 32"><g><g><g><g><g><path d="M116.00007629394531,0L124.14822629394531,0L124.14822629394531,13.4737L116.00007629394531,13.4737L116.00007629394531,0Z" fill="#004BBB" fill-opacity="1"/></g><g><path d="M129.03710174560547,0L142.07410174560547,0L142.07410174560547,13.4737L129.03710174560547,13.4737L129.03710174560547,0Z" fill="#004BBB" fill-opacity="1"/></g><g><path d="M146.96301078796387,0L160.00001078796387,0L160.00001078796387,13.4737L146.96301078796387,13.4737L146.96301078796387,0Z" fill="#004BBB" fill-opacity="1"/></g></g><g><g><path d="M116.00007629394531,18.526296615600586L124.14822629394531,18.526296615600586L124.14822629394531,31.999996615600587L116.00007629394531,31.999996615600587L116.00007629394531,18.526296615600586Z" fill="#004BBB" fill-opacity="1"/></g><g><path d="M129.03710174560547,18.526296615600586L142.07410174560547,18.526296615600586L142.07410174560547,31.999996615600587L129.03710174560547,31.999996615600587L129.03710174560547,18.526296615600586Z" fill="#004BBB" fill-opacity="1"/></g><g><path d="M146.96301078796387,18.526296615600586L160.00001078796387,18.526296615600586L160.00001078796387,31.999996615600587L146.96301078796387,31.999996615600587L146.96301078796387,18.526296615600586Z" fill="#004BBB" fill-opacity="1"/></g></g></g></g><g><path d="M4.19726,0.235008Q6.29589,0.235008,7.98265,1.07712Q9.66939,1.91923,10.6305,3.5447Q11.5915,5.17016,11.5915,7.38315Q11.5915,9.63531,10.6305,11.251Q9.66939,12.8667,7.99245,13.7186Q6.31551,14.5705,4.19726,14.5705L0,14.5705L0,0.235008L4.19726,0.235008ZM3.92268,12.7296Q6.49203,12.7296,7.93361,11.3293Q9.37519,9.92907,9.37519,7.38315Q9.37519,4.85682,7.93361,3.45657Q6.49203,2.05632,3.92268,2.05632L2.09863,2.05632L2.09863,12.7296L3.92268,12.7296ZM19.3388,0.235008L25.1051,14.5705L22.8104,14.5705L21.3394,10.732L15.5142,10.732L14.102,14.5705L11.9838,14.5705L17.5344,0.235008L19.3388,0.235008ZM20.6333,8.89112L18.3581,2.97676L16.2006,8.89112L20.6333,8.89112ZM23.8106,0.235008L34.7745,0.235008L34.7745,2.09548L30.3419,2.09548L30.3419,14.5705L28.2237,14.5705L28.2237,2.09548L23.8106,2.09548L23.8106,0.235008ZM40.835,0.235008L46.6014,14.5705L44.3066,14.5705L42.8356,10.732L37.0104,10.732L35.5983,14.5705L33.48,14.5705L39.0306,0.235008L40.835,0.235008ZM42.1295,8.89112L39.8544,2.97676L37.6969,8.89112L42.1295,8.89112ZM52.9757,0.235008Q54.5056,0.235008,55.702,0.802943Q56.8984,1.37088,57.5555,2.40883Q58.2125,3.44678,58.2125,4.77849Q58.2125,6.11019,57.5555,7.13835Q56.8984,8.16651,55.7118,8.73444Q54.5252,9.30238,52.9757,9.30238L50.4848,9.30238L50.4848,14.5705L48.3862,14.5705L48.3862,0.235008L52.9757,0.235008ZM52.7208,7.48107Q54.2702,7.48107,55.1234,6.74667Q55.9766,6.01228,55.9766,4.77849Q55.9766,3.5447,55.1234,2.80051Q54.2702,2.05632,52.7208,2.05632L50.4848,2.05632L50.4848,7.48107L52.7208,7.48107ZM69.5686,0.235008L71.6869,0.235008L71.6869,8.77361Q71.6869,10.6145,71.0004,11.9756Q70.3139,13.3367,69.0195,14.0613Q67.725,14.7859,65.9206,14.7859Q64.1161,14.7859,62.8217,14.0613Q61.5272,13.3367,60.8407,11.9756Q60.1542,10.6145,60.1542,8.77361L60.1542,0.235008L62.2725,0.235008L62.2725,8.36235Q62.2725,10.5753,63.2139,11.721Q64.1554,12.8667,65.9206,12.8667Q67.6858,12.8667,68.6272,11.721Q69.5686,10.5753,69.5686,8.36235L69.5686,0.235008ZM86.0439,14.5705L83.4942,14.5705L79.5519,8.93028L79.395,8.93028L76.9237,8.93028L76.9237,14.5705L74.825,14.5705L74.825,0.235008L79.4146,0.235008Q80.9444,0.235008,82.131,0.783359Q83.3176,1.33171,83.9747,2.3207Q84.6317,3.30969,84.6317,4.60223Q84.6317,5.99269,83.857,7.03064Q83.0823,8.06859,81.7289,8.5386L86.0439,14.5705ZM76.9237,2.05632L76.9237,7.10898L79.1596,7.10898Q80.6894,7.10898,81.5524,6.44312Q82.4154,5.77727,82.4154,4.60223Q82.4154,3.42719,81.5524,2.74175Q80.6894,2.05632,79.1596,2.05632L76.9237,2.05632ZM93.8108,8.77361L93.8108,6.91314L98.8318,6.91314L98.8318,12.5925Q98.1846,13.5521,96.8214,14.169Q95.4583,14.7859,93.7716,14.7859Q91.7514,14.7859,90.1627,13.8556Q88.574,12.9254,87.6718,11.2314Q86.7696,9.53739,86.7696,7.36357Q86.7696,5.18975,87.6816,3.51532Q88.5936,1.84089,90.1725,0.920446Q91.7514,0,93.6735,0Q95.4779,0,96.8411,0.773566Q98.2042,1.54713,98.773,2.87884L97.047,3.87762Q96.5959,2.99635,95.6937,2.45779Q94.7915,1.91923,93.595,1.91923Q92.2613,1.91923,91.212,2.59487Q90.1627,3.27052,89.5743,4.5141Q88.9859,5.75768,88.9859,7.36357Q88.9859,9.00862,89.5939,10.2522Q90.2019,11.4958,91.3199,12.1812Q92.4378,12.8667,93.9088,12.8667Q95.7917,12.8667,96.7332,11.8679L96.7332,8.77361L93.8108,8.77361ZM109.619,8.12734L103.461,8.12734L103.461,12.71L110.561,12.71L110.561,14.5705L101.362,14.5705L101.362,0.215423L110.345,0.215423L110.345,2.0759L103.461,2.0759L103.461,6.28645L109.619,6.28645L109.619,8.12734Z" fill="#181818" fill-opacity="1"/></g><g><path d="M0.9061920743942261,25.364433978271485L7.166687074394226,25.364433978271485L7.166687074394226,26.401543978271484L0.9061920743942261,26.401543978271484L0.9061920743942261,25.364433978271485ZM0.5753820743942261,19.968443978271484L8.431217074394226,19.968443978271484L8.431217074394226,20.976743978271486L0.5753820743942261,20.976743978271486L0.5753820743942261,19.968443978271484ZM6.9876070743942265,17.242366978271484L8.022887074394227,17.690608978271484Q7.668187074394226,18.249313978271484,7.277777074394226,18.820003978271483Q6.887627074394226,19.390433978271485,6.557677074394226,19.799493978271485L5.763127074394226,19.415213978271485Q5.972477074394226,19.121453978271486,6.1965970743942265,18.736013978271483Q6.420997074394226,18.350203978271484,6.632147074394226,17.953303978271485Q6.843537074394226,17.556268978271483,6.9876070743942265,17.242366978271484ZM3.947207074394226,16.916194978271484L5.092467074394226,16.916194978271484L5.092467074394226,24.049003978271486L3.947207074394226,24.049003978271486L3.947207074394226,16.916194978271484ZM1.191227074394226,17.700862978271484L2.085757074394226,17.337580978271486Q2.435617074394226,17.824373978271485,2.734687074394226,18.414243978271486Q3.033797074394226,19.003803978271485,3.141667074394226,19.438163978271483L2.212707074394226,19.853203978271484Q2.107647074394226,19.418943978271486,1.812927074394226,18.809743978271484Q1.5184070743942262,18.200553978271486,1.191227074394226,17.700862978271484ZM3.972717074394226,20.381033978271486L4.803527074394226,20.873223978271483Q4.415677074394226,21.553053978271485,3.802187074394226,22.237483978271484Q3.188917074394226,22.921903978271484,2.478947074394226,23.501643978271485Q1.769027074394226,24.081513978271484,1.063785074394226,24.473323978271484Q0.957450074394226,24.257083978271485,0.767154074394226,23.981623978271486Q0.576925074394226,23.706473978271482,0.3999670743942261,23.535823978271484Q1.0826000743942261,23.234663978271485,1.765197074394226,22.738943978271486Q2.447837074394226,22.243223978271484,3.0338770743942263,21.628103978271483Q3.620117074394226,21.012533978271485,3.972717074394226,20.381033978271486ZM4.924627074394226,20.735533978271484Q5.143157074394226,20.853333978271486,5.569517074394226,21.120293978271484Q5.996137074394226,21.387283978271483,6.489567074394226,21.691583978271485Q6.983247074394226,21.996053978271483,7.390317074394226,22.262873978271486Q7.797557074394226,22.529853978271483,7.970647074394226,22.654473978271483L7.287777074394226,23.543143978271484Q7.079187074394226,23.344503978271483,6.691587074394226,23.032893978271485Q6.304247074394226,22.721023978271482,5.850897074394226,22.377613978271484Q5.397757074394226,22.034393978271485,4.988957074394226,21.736013978271483Q4.580187074394226,21.437153978271485,4.312687074394226,21.271173978271484L4.924627074394226,20.735533978271484ZM9.740907074394226,20.092953978271485L15.229667074394227,20.092953978271485L15.229667074394227,21.234553978271485L9.740907074394226,21.234553978271485L9.740907074394226,20.092953978271485ZM10.018857074394226,17.065608978271484L11.147667074394226,17.236506978271485Q10.909267074394226,18.800673978271483,10.547467074394227,20.248713978271486Q10.185577074394226,21.696853978271484,9.685247074394226,22.943533978271486Q9.185187074394227,24.189973978271485,8.534237074394227,25.142263978271487Q8.450597074394226,25.045873978271484,8.279727074394227,24.896173978271484Q8.109127074394227,24.746743978271486,7.927067074394226,24.609063978271486Q7.7449970743942265,24.471103978271486,7.609807074394226,24.387383978271483Q8.248837074394226,23.528803978271483,8.712217074394227,22.365413978271484Q9.175557074394225,21.202103978271484,9.500677074394225,19.851743978271486Q9.825797074394226,18.501003978271484,10.018857074394226,17.065608978271484ZM13.031067074394226,20.746763978271485L14.176367074394227,20.856623978271486Q13.796667074394225,23.627443978271486,13.059867074394226,25.737483978271484Q12.323467074394227,27.847383978271484,11.052267074394226,29.386383978271482Q9.781137074394225,30.925283978271484,7.804387074394226,31.986983978271482Q7.746247074394226,31.861483978271487,7.628727074394226,31.673483978271484Q7.511167074394226,31.485583978271485,7.375677074394226,31.297583978271483Q7.240527074394226,31.109583978271484,7.124327074394226,30.996783978271484Q9.001887074394226,30.084083978271487,10.188177074394225,28.668583978271485Q11.374467074394227,27.253083978271484,12.044967074394226,25.284353978271483Q12.715867074394225,23.315253978271485,13.031067074394226,20.746763978271485ZM10.325257074394226,21.115903978271483Q10.697767074394227,23.296913978271483,11.369567074394226,25.217953978271485Q12.041267074394225,27.138883978271487,13.093367074394227,28.588583978271487Q14.145467074394226,30.037983978271484,15.615067074394226,30.837583978271482Q15.408967074394226,30.998183978271484,15.174167074394227,31.284383978271485Q14.939267074394227,31.570483978271483,14.797767074394226,31.801883978271483Q13.260867074394227,30.869683978271482,12.186567074394226,29.318983978271483Q11.112267074394227,27.768083978271484,10.419367074394225,25.720393978271485Q9.726797074394225,23.672743978271484,9.312437074394227,21.299493978271485L10.325257074394226,21.115903978271483ZM1.554387074394226,28.137883978271482L2.321597074394226,27.406883978271484Q3.175587074394226,27.726183978271486,4.105167074394226,28.171083978271483Q5.034637074394226,28.615783978271484,5.866147074394226,29.071983978271483Q6.697707074394226,29.528183978271485,7.264347074394226,29.928883978271486L6.490907074394226,30.739883978271486Q5.9467370743942265,30.326283978271483,5.115177074394226,29.849283978271487Q4.283627074394226,29.372183978271487,3.351017074394226,28.917683978271484Q2.418487074394226,28.463283978271484,1.554387074394226,28.137883978271482ZM6.753477074394226,25.364433978271485L6.966007074394226,25.364433978271485L7.169497074394226,25.319023978271485L7.8313570743942265,25.587093978271483Q7.329267074394226,27.350683978271483,6.3154970743942265,28.586083978271482Q5.301867074394226,29.821583978271484,3.939887074394226,30.598783978271484Q2.578187074394226,31.376083978271485,1.008365074394226,31.805883978271485Q0.924725074394226,31.593383978271483,0.757267074394226,31.308283978271483Q0.589732074394226,31.023683978271485,0.43158327439422606,30.862983978271487Q1.8825270743942262,30.526583978271482,3.1638870743942262,29.847783978271487Q4.445507074394226,29.168783978271485,5.387027074394226,28.095883978271484Q6.328487074394226,27.022883978271484,6.753477074394226,25.542163978271482L6.753477074394226,25.364433978271485ZM1.554387074394226,28.137883978271482Q1.916227074394226,27.629383978271484,2.2892470743942264,26.977183978271484Q2.662567074394226,26.325193978271486,2.997867074394226,25.633963978271485Q3.333447074394226,24.942913978271484,3.564757074394226,24.317563978271483L4.651797074394226,24.520193978271486Q4.397817074394226,25.181403978271483,4.054137074394227,25.883473978271482Q3.710657074394226,26.585743978271484,3.350527074394226,27.227683978271486Q2.990467074394226,27.869783978271485,2.671207074394226,28.355183978271484L1.554387074394226,28.137883978271482ZM54.802367074394226,26.269703978271487L61.303367074394224,26.269703978271487L61.303367074394224,27.179383978271485L54.802367074394226,27.179383978271485L54.802367074394226,26.269703978271487ZM53.27776707439423,18.209653978271483L62.98356707439422,18.209653978271483L62.98356707439422,19.141293978271484L53.27776707439423,19.141293978271484L53.27776707439423,18.209653978271483ZM53.671167074394226,20.189143978271485L62.57026707439422,20.189143978271485L62.57026707439422,21.082213978271483L53.671167074394226,21.082213978271483L53.671167074394226,20.189143978271485ZM52.66046707439423,22.219903978271486L63.57876707439423,22.219903978271486L63.57876707439423,23.157893978271485L52.66046707439423,23.157893978271485L52.66046707439423,22.219903978271486ZM54.783267074394224,28.447883978271484L61.32406707439423,28.447883978271484L61.32406707439423,29.382983978271483L54.783267074394224,29.382983978271483L54.783267074394224,28.447883978271484ZM53.965467074394226,24.112483978271484L61.29216707439423,24.112483978271484L61.29216707439423,25.063163978271483L55.10706707439422,25.063163978271483L55.10706707439422,31.921583978271485L53.965467074394226,31.921583978271485L53.965467074394226,24.112483978271484ZM61.014667074394225,24.112483978271484L62.17546707439423,24.112483978271484L62.17546707439423,30.570983978271485Q62.17546707439423,31.026683978271485,62.053867074394226,31.288283978271487Q61.932467074394225,31.549883978271485,61.58556707439423,31.688183978271482Q61.24546707439423,31.823583978271486,60.68046707439423,31.852683978271486Q60.11536707439423,31.881783978271486,59.236867074394226,31.871783978271484Q59.20146707439422,31.649883978271482,59.09656707439422,31.344383978271484Q58.991767074394225,31.038883978271485,58.875567074394226,30.810183978271482Q59.49896707439422,30.832883978271482,60.02326707439423,30.837583978271482Q60.54776707439422,30.842683978271484,60.710967074394226,30.832683978271483Q60.88416707439423,30.822783978271485,60.949367074394225,30.765783978271486Q61.014667074394225,30.708683978271484,61.014667074394225,30.551883978271483L61.014667074394225,24.112483978271484ZM57.46106707439423,16.922542978271483L58.676067074394226,16.922542978271483L58.676067074394226,22.516293978271484L57.46106707439423,22.516293978271484L57.46106707439423,16.922542978271483ZM49.41206707439422,18.033873978271483L50.13846707439423,17.198420978271486Q50.59266707439423,17.420525978271485,51.08856707439423,17.715998978271486Q51.58456707439423,18.011543978271483,52.029867074394225,18.311703978271485Q52.475067074394225,18.611833978271484,52.76886707439422,18.873223978271483L52.01046707439423,19.828303978271485Q51.739367074394224,19.560813978271483,51.295467074394224,19.239433978271485Q50.851767074394225,18.917883978271483,50.362067074394226,18.598323978271484Q49.87246707439422,18.278553978271486,49.41206707439422,18.033873978271483ZM48.64496707439422,22.371763978271485L49.355867074394226,21.507503978271483Q49.82916707439423,21.739803978271485,50.345967074394224,22.046563978271486Q50.862867074394224,22.353323978271483,51.329067074394224,22.663263978271484Q51.79516707439423,22.973343978271483,52.101767074394225,23.251153978271486L51.35256707439422,24.211603978271484Q51.07516707439422,23.937733978271485,50.61836707439423,23.610043978271484Q50.16186707439422,23.282113978271482,49.63996707439423,22.957693978271486Q49.11816707439423,22.633083978271486,48.64496707439422,22.371763978271485ZM49.16006707439423,30.985983978271484Q49.532667074394226,30.345983978271484,49.97406707439423,29.457183978271484Q50.41546707439423,28.568283978271484,50.86836707439423,27.580283978271485Q51.321167074394225,26.591873978271487,51.70016707439422,25.665213978271485L52.689967074394225,26.385433978271486Q52.346467074394226,27.253983978271485,51.92916707439423,28.193983978271483Q51.511667074394225,29.133483978271485,51.08606707439423,30.038783978271482Q50.66076707439423,30.943983978271483,50.26546707439422,31.719883978271483L49.16006707439423,30.985983978271484ZM101.86196707439423,22.707813978271485L103.17896707439422,22.707813978271485L103.17896707439422,30.830783978271484L101.86196707439423,30.830783978271484L101.86196707439423,22.707813978271485ZM97.02706707439422,22.150123978271484L108.09896707439422,22.150123978271484L108.09896707439422,23.301703978271483L97.02706707439422,23.301703978271483L97.02706707439422,22.150123978271484ZM97.45446707439423,25.877203978271485L107.73596707439422,25.877203978271485L107.73596707439422,27.022383978271485L97.45446707439423,27.022383978271485L97.45446707439423,25.877203978271485ZM95.48336707439422,30.323883978271482L109.66496707439423,30.323883978271482L109.66496707439423,31.465483978271486L95.48336707439422,31.465483978271486L95.48336707439422,30.323883978271482ZM104.42496707439423,27.846083978271484L105.28296707439422,27.227683978271486Q105.72196707439423,27.567583978271486,106.21896707439423,27.98098397827148Q106.71596707439423,28.394283978271485,107.16596707439423,28.786483978271484Q107.61596707439422,29.178683978271486,107.91496707439423,29.482383978271486L107.01896707439423,30.197683978271485Q106.73296707439422,29.893983978271486,106.29296707439423,29.482383978271486Q105.85196707439422,29.070783978271486,105.35796707439422,28.639883978271484Q104.86496707439423,28.208683978271484,104.42496707439423,27.846083978271484ZM95.76176707439423,18.964673978271485L109.34496707439422,18.964673978271485L109.34496707439422,22.416853978271483L108.08496707439423,22.416853978271483L108.08496707439423,20.125433978271484L96.97706707439423,20.125433978271484L96.97706707439423,22.416853978271483L95.76176707439423,22.416853978271483L95.76176707439423,18.964673978271485ZM101.41496707439423,17.096803978271485L102.61496707439423,16.799983978271484Q102.94196707439423,17.379342978271485,103.28896707439422,18.068353978271485Q103.63596707439423,18.757363978271485,103.81596707439422,19.224263978271484L102.54796707439422,19.582793978271486Q102.44396707439422,19.265063978271485,102.24996707439422,18.836153978271483Q102.05496707439423,18.406993978271483,101.83896707439422,17.949263978271485Q101.62396707439423,17.491542978271486,101.41496707439423,17.096803978271485Z" fill="#181818" fill-opacity="1"/></g></g></svg>
        </span>
      </template>
    </transition-group>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  name: 'Logo',
  data () {
    return {}
  },
  created () {},
  computed: {
    ...mapGetters(['website', 'keyCollapse']),
  },
  methods: {},
}
</script>

<style lang="scss">
.fade-leave-active {
  transition: opacity 0.2s;
}
.fade-enter-active {
  transition: opacity 2.5s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
.avue-logo {
  position: fixed;
  top: 20px;
  left: 25px;
  width: 160px;
  height: 32px;
  line-height: 32px;
  background-color: #ffffff;
  font-size: 20px;
  overflow: hidden;
  box-sizing: border-box;
  // box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.8);
  z-index: 1024;
  &_title {
    display: block;
    text-align: center;
    font-weight: 300;
    font-size: 20px;
    color: #000000;
  }
  &_subtitle {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
  }
}
</style>
